package calendar.commands.calendar;

import calendar.commands.CalendarCommand;
import com.google.api.services.calendar.Calendar;

public class DeleteCalendar extends CalendarCommand {
    public DeleteCalendar(Calendar client) {
        super(client);
    }

    @Override
    protected void protectedExecute() throws Exception {
        client.calendars().delete(calendar.getId()).execute();
    }
}
